package com.gewei.service;

import com.gewei.entity.PageResult;
import com.gewei.entity.QueryPageBean;
import com.gewei.pojo.Member;

import java.util.List;

/**
 * @author gewei
 */
public interface MemberAgeService {
    /**
     * 根据年龄查询会员
     *
     * @param telephone
     * @return
     */
    Member findByTelephone(String telephone);
    void add(Member member);
    List<Integer> findMemberCountByMonths(List<String> months);
    PageResult pageQuery(QueryPageBean queryPageBean);
    void deleteById(Integer id);
    void edit(Member member);
    Member findById(Integer id);
    List<Member> findAll();
}
